package com.shuai.chatroom.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class SessionInfoVO implements Serializable {
    private final long serializableId = 1;
    private Integer sessionId;
    private List<FriendInfoVO> friendInfoVOS;
    @JsonFormat(pattern = "MM-dd HH:mm",timezone = "GMT+8")
    private LocalDateTime updateTime;
    private String lastMessage;
    private Integer didNotNum;  //未读消息条数
}
